﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/Master/PopupDiv.master" AutoEventWireup="true" CodeBehind="Edit.aspx.cs" Inherits="Jzy.Web.SiteAdmin.Job.Edit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
 <style type="text/css">
        .style1,.style3
        {
            width: 90px;
            text-align: right;
            height: 30px;
        }
        
        table tr td input
        {
            width:120px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 <div style="height: 5px; line-height: 5px;">
    </div>
    <asp:Panel ID="pnlMain" runat="server" Width="100%" Style="height: 303px;">
        <table border="0" cellpadding="0" cellspacing="0" style="width: 100%;" align="center">
            <tr>
                <td class="style1">招聘类型：
                </td>
                <td style="width:120px;">
                    <asp:DropDownList ID="TypeCode" runat="server">
                    </asp:DropDownList>
                </td>
                <td class="style3">招聘人数：
                </td>
                <td>    
                    <asp:TextBox ID="PositionCount" runat="server" CssClass="txt"></asp:TextBox> 
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="PositionCount"
                        Display="None" ErrorMessage="数字格式不正确" ValidationExpression="\d*" SetFocusOnError="True"></asp:RegularExpressionValidator>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="PositionCount" Display="None" ErrorMessage="请输入招聘人数"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td class="style1">职位：
                </td>
                <td style="width:120px;">
                    <asp:TextBox ID="Name" runat="server" CssClass="txt"></asp:TextBox>
                </td>
                <td class="style3">工作地点：
                </td>
                <td>
                    <asp:TextBox ID="WorkPlace" runat="server" CssClass="txt"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">性别：
                </td>
                <td>
                    <asp:DropDownList ID="Gender" runat="server" Width="120px">
                    </asp:DropDownList>
                </td>
                <td class="style3">薪资要求：
                </td>
                <td>
                    <asp:TextBox ID="Salary" runat="server" CssClass="txt"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">年龄：
                </td>
                <td>
                    <asp:TextBox ID="Age" runat="server" CssClass="txt"></asp:TextBox>
                </td>
                <td class="style3">专业要求：
                </td>
                <td>
                    <asp:TextBox ID="Profession" runat="server" CssClass="txt"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">联系人：
                </td>
                <td>
                    <asp:TextBox ID="ContactName" runat="server" CssClass="txt"></asp:TextBox>
                </td>
                <td class="style3">电话：
                </td>
                <td>
                    <asp:TextBox ID="Telephone" runat="server" CssClass="txt"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">电子邮件：
                </td>
                <td>
                    <asp:TextBox ID="Email" runat="server" CssClass="txt"></asp:TextBox>
                </td>
                <td class="style3">过期日期：
                </td>
                <td>
                    <asp:TextBox ID="ExpireDate" runat="server" CssClass="txt"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td class="style1">详细描述：
                </td>
                <td colspan="3" style="padding:5px 0px 5px 0px;">
                    <asp:TextBox ID="Description" runat="server" CssClass="txt" Height="100px" 
                        TextMode="MultiLine" Width="335px" MaxLength="800"></asp:TextBox>
                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" />
                </td>
               
            </tr>
        </table>
    </asp:Panel>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
 <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" />
</asp:Content>
